import json
import app
import arrow
import pymongo
from flask_socketio import send

from tools import MyMongo,MyRedis

n =arrow.now()
print(n.format('YYYY-MM-DD'))

# with MyMongo(db='md', table='message_box') as c:
#     message_list = list(c.find({}, {'_id': 0}).sort('sendtime',pymongo.DESCENDING))
#     print(message_list)

# from Socket_msg_view import test
#
#
# test()
from manage import job_1
job_1()